import FisPrint from "../views/fis/FisPrint.vue";
import Result from "../views/fis/Result.vue";
import HomeView from '../views/printList.vue'
import { createRouter, createWebHistory } from "vue-router";
const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: "/fis",

            component: FisPrint
        },
        {
            path: "/",
            redirect: "/fis",

        },
        {
            path: "/res",
            component: Result
        },
        // 打印模块的路由
        {
            path: '/print',
            name: 'home',
            component: HomeView,
        },
        {
            path: '/about',
            name: 'about',
            component: () => import('../views/print/index.vue'),
        },
    ]
})
export default router